package oa.hleast.xswl.common.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "main")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppProps {

    private String cityBrainHttpUrl;
    private String cityBrainPrivateKey;
    private String cityBrainAppId;
    private String cityBrainSystemId;
    private String htmlHost;

    private String baiduAiAppId;
    private String baiduAiAppKey;
    private String baiduAiSecretKey;

    private String wlhServiceCode;
    private String wlhServicePwd;
    private String wlyyServiceCode;
    private String wlyyServicePwd;
}

